home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_02_05 / 2n05065a < prev    next >
Text File  |  1991-03-25  |  266b  |  18 lines

  1.  
  2. class vector
  3.     {
  4. public:
  5.     vector(int sz);
  6.     vector(const vector &v);
  7.     ~vector();
  8.     vector &operator =(const vector &v);
  9.     double &operator [](int i);
  10.     int length() { return size; }
  11. private:
  12.     double *vec;
  13.     int size;
  14.     };
  15.  
  16.  
  17.  
  18.